package com.mankiw.insight.spring;


//这两个方法的意思是，我们可以通过实现这个接口，对初始化bean进行干预
public interface BeanPostProcessor {
    default Object beforeInitializeBean(Object bean,String beanName){
        return bean;
    }
    default Object afterInitializeBean(Object bean,String beanName){
        return bean;
    };
}
